<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--  手机端必须写meta这一段  -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style>
        .container {
            max-width: 1200px;
            margin: auto;
        }

        .title {
            text-align: center;
            padding: 50px 0;
            position: relative;
        }

        .title h3 {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .title p {
            color: #999;
            margin-bottom: 10px;
        }

        .title:after {
            content: "";
            width: 30px;
            height: 1px;
            background-color: #ddd;

            position: absolute;
            left: 50%;
            transform: translate(-50%);
            top: 130px;
        }

        .service ul {
            display: flex;
            flex-wrap: wrap;
        }

        .service ul li {
            padding: 0 30px;
            text-align: center;
            box-sizing: border-box;
            margin-bottom: 30px;
        }

        .service ul li img {
            width: 134px;
            height: 134px;
            border-radius: 50%;
        }

        .service ul li p {
            text-align: left;
        }


        .case dl {
            display: flex;
        }

        .case img {
            width: 100%;
        }

        .case dd ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-content: space-between;
            height: 100%;
        }

        .case ul li {
            width: 48%;
        }

       




        /* 手机 */
        @media screen and (max-width:768px) {
            .service ul li {
                width: 50%;
            }

            .case dt {
                width: 50%;
                flex-shrink: 0;
            }

        }

        /* 平板和电脑 */
        @media screen and (min-width:768px) {
            .service ul li {
                width: 25%;
            }

            .case dt {
                width: 50%;
                flex-shrink: 0;
            }

        }
    </style>
</head>

<body>


    <div class="service">
        <div class="container">
            <div class="title">
                <h3>网思服务</h3>
                <p>WHAT WE DO</p>
            </div>
            <ul>
                <li>
                    <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                    <h4>网站架收纳盒</h4>
                    <p>啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</p>
                </li>
                <li>
                    <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                    <h4>网站架收纳盒</h4>
                    <p>啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</p>
                </li>
                <li>
                    <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                    <h4>网站架收纳盒</h4>
                    <p>啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</p>
                </li>
                <li>
                    <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                    <h4>网站架收纳盒</h4>
                    <p>啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</p>
                </li>
            </ul>
        </div>
    </div>


    <div class="case">
        <div class="container">
            <div class="title">
                <h3>网思案例</h3>
                <p>WHAT WE DO</p>
            </div>
            <dl>
                <dt>
                    <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                </dt>
                <dd>
                    <ul>
                        <li>
                            <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                        </li>
                        <li>
                            <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                        </li>
                        <li>
                            <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                        </li>
                        <li>
                            <img src="http://www.webthink.com.cn/upload/201802/02/201802021749563123.jpg" alt="">
                        </li>
                    </ul>
                </dd>
            </dl>
        </div>
    </div>

</body>

</html>